package com.marketfarm.client.footer;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.DecoratorPanel;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Hyperlink;
import com.google.gwt.user.client.ui.SimplePanel;
import com.marketfarm.client.CachePagina.Pagina;

public class Footer extends Composite {

	public Footer() {
		
		DecoratorPanel decoratorPanel = new DecoratorPanel();
		initWidget(decoratorPanel);
		
		HorizontalPanel horizontalPanel = new HorizontalPanel();
		horizontalPanel.setSpacing(10);
		decoratorPanel.setWidget(horizontalPanel);
		
		Hyperlink hprlnkNewHyperlink = new Hyperlink("Home", false, Pagina.LOGIN.toString());
		horizontalPanel.add(hprlnkNewHyperlink);
		
		Hyperlink hyperlink = new Hyperlink("Ajuda", false, Pagina.AJUDA.toString());
		horizontalPanel.add(hyperlink);
		
		Hyperlink hyperlink_1 = new Hyperlink("Sobre", false, Pagina.SOBRE.toString());
		horizontalPanel.add(hyperlink_1);
		
		Hyperlink hyperlink_2 = new Hyperlink("Novo Usu\u00E1rio", false, Pagina.NOVO_USUARIO.toString());
		horizontalPanel.add(hyperlink_2);
		hyperlink_2.setWidth("79px");
		
		Hyperlink hyperlink_3 = new Hyperlink("Contato", false, Pagina.CONTATO.toString());
		horizontalPanel.add(hyperlink_3);
		
		SimplePanel simplePanel = new SimplePanel();
		horizontalPanel.add(simplePanel);
		simplePanel.setWidth("513px");
	}

}
